package airportCoordinationMonitor;

public class SharedProcess {
	private Process proc;
	boolean flag;
	
	public SharedProcess(Process process)
	{
		proc = process;
		flag = true;
	}
	
	public SharedProcess(SharedProcess sp)
	{
		proc = sp.proc;
		flag = true;
	}
	
	public Process process()
	{
		return proc;
	}
	
	public void set_process(Process process)
	{
		proc = process;
		flag = true;
	}
	
	public void reset_flag()
	{
		flag = false;
	}
	
	public boolean flag()
	{
		return flag;
	}
}
